/**
 * 
 */
package com.vanstone.imgapp.img.dal.object;

import org.springframework.data.annotation.Id;
import org.springframework.data.mongodb.core.mapping.Document;

import com.vanstone.fs.weedfs.WeedFSFile;

/**
 * @author shipeng <br />
 * 
 */
@Document(collection = "cms_category")
public class CmsCategoryDO {

  @Id
  private Long id;
  private String categoryName;
  private String categoryNamePinyin;
  private WeedFSFile coverFile;
  private String content;
  private long albumcount = 0;

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getCategoryName() {
    return categoryName;
  }

  public void setCategoryName(String categoryName) {
    this.categoryName = categoryName;
  }

  public String getCategoryNamePinyin() {
    return categoryNamePinyin;
  }

  public void setCategoryNamePinyin(String categoryNamePinyin) {
    this.categoryNamePinyin = categoryNamePinyin;
  }

  public WeedFSFile getCoverFile() {
    return coverFile;
  }

  public void setCoverFile(WeedFSFile coverFile) {
    this.coverFile = coverFile;
  }

  public String getContent() {
    return content;
  }

  public void setContent(String content) {
    this.content = content;
  }

  public long getAlbumcount() {
    return albumcount;
  }

  public void setAlbumcount(long albumcount) {
    this.albumcount = albumcount;
  }

}
